package com.xhapi.service;

import com.xhapi.pojo.entity.HistoryQuestionByAi;
import com.xhapi.pojo.pageQuery.ElasticSearchPage;

import java.util.List;

public interface ESService {
    void updateES();

    void deleteES();

    void addES(List<HistoryQuestionByAi> lists);

    ElasticSearchPage pageByES(int pageSize, int pageNum, String subject, String desc);
}
